package com.quan.admin.commons.constant;

/**
 * 系统常量属性
 */
public class SysConstant {

    /**
     * Qrtz定时任务
     */
    public enum SchedulerStatusEnum {
        RUNNING("RUNNING","运行中"),
        PAUSE("PAUSE","暂停"),
        FINISHED("FINISHED","完成"),
        FAILED("FAILED","失败");

        private String val;

        private String desc;

        public String getVal() {
            return val;
        }

        public void setVal(String val) {
            this.val = val;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }

        SchedulerStatusEnum(String val, String desc) {
            this.val = val;
            this.desc = desc;
        }

    }

}
